package com.todo.strategy.offline.iface.base;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/11/28 18:25
 * @description
 */
@Data
@Schema(title = "基础备忘录详情信息",description = "基础备忘录详情信息")
public class BaseMemoContent {

    /**
     * 模块分类
     */
    @Schema(title = "模块分类",description = "模块分类")
    private List<ModuleClassify> moduleClassifyList;

    @Data
    public static class ModuleClassify {
        /**
         * 模块名称
         */
        @Schema(title = "模块名称",description = "模块名称")
        private String moduleName;
        /**
         * 模块排序
         */
        @Schema(title = "模块排序",description = "模块排序")
        private Integer sort = 0;
        /**
         * 详情列表
         */
        @Schema(title = "详情列表",description = "详情列表")
        private List<Item> itemList;

    }


    @Data
    public static class Item {
        /**
         * 项目名称
         */
        @Schema(title = "项目名称",description = "项目名称")
        private String itemName;

        /**
         * 排序
         */
        @Schema(title = "排序",description = "排序")
        private Integer sort;

        /**
         * 基本说明，例如雨衣在爬山时候的重要性
         */
        @Schema(title = "基本说明，例如雨衣在爬山时候的重要性",description = "基本说明，例如雨衣在爬山时候的重要性")
        private String describe;
    }
}
